﻿using System;
using VIT.Web.UI;
using System.Data;

using VIT.DataHelper.DataAccess;
using VIT.Business;

namespace VIT.Web
{
    public partial class News24H : VITComponent
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                BLArticle bla = new BLArticle();
                bla.LanguageId = Session["Language"].ToString();
                rpt.DataSource = rptImg.DataSource = bla.GetList(3, 53);
                rpt.DataBind();
                rptImg.DataBind();
            }
        }
    }
}